package com.mall.org.students.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mall.common.annotation.Excel;
import com.mall.common.core.domain.BaseEntity;

/**
 * 学生对象 org_students
 * 
 * @author mall
 * @date 2024-05-08
 */
public class StudentDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生编号 */
    private Long id;

    /** 用户编号 */
    private Long userId;

    /** 学校编号 */
//    @Excel(name = "学校编号")
    private Long schoolId;

    @Excel(name = "学校")
    private String schoolName;

    /** 年级编号 */
//    @Excel(name = "年级编号")
    private Long gradeId;

    @Excel(name = "年级")
    private String gradeName;

    /** 班级编号 */
//    @Excel(name = "班级编号")
    private Long classId;

    @Excel(name = "班级")
    private String className;

    /** 家长姓名 */
    @Excel(name = "家长姓名")
    private String parentName;

    /** 家长手机号 */
    @Excel(name = "家长手机号")
    private String parentPhone;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setParentName(String parentName) 
    {
        this.parentName = parentName;
    }

    public String getParentName() 
    {
        return parentName;
    }
    public void setParentPhone(String parentPhone) 
    {
        this.parentPhone = parentPhone;
    }

    public String getParentPhone() 
    {
        return parentPhone;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }
    public void setGradeId(Long gradeId) 
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId() 
    {
        return gradeId;
    }
    public void setClassId(Long classlId)
    {
        this.classId = classlId;
    }

    public Long getClassId()
    {
        return classId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("parentName", getParentName())
            .append("parentPhone", getParentPhone())
            .append("studentName", getStudentName())
            .append("schoolId", getSchoolId())
            .append("gradeId", getGradeId())
            .append("classId", getClassId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
